package com.dwjm.exam.pojo;

public class Student {
    private int studentId;
    private String name;
    private String gender;
    private String birthDate;
    private int idCard;
    private String college;
    private String major;
    private int className;
    private String status;
    private int dormId;
    private int bedNumber;
    private int phone;
    private String email;
    private int emergencyContact;
    private String username;
    private String password;

    public Student() {
    }

    public Student(int studentId, String name, String gender, String birthDate, int idCard, String college, String major, int className, String status, int bedNumber, int dormId, int phone, String email, int emergencyContact, String username, String password) {
        this.studentId = studentId;
        this.name = name;
        this.gender = gender;
        this.birthDate = birthDate;
        this.idCard = idCard;
        this.college = college;
        this.major = major;
        this.className = className;
        this.status = status;
        this.bedNumber = bedNumber;
        this.dormId = dormId;
        this.phone = phone;
        this.email = email;
        this.emergencyContact = emergencyContact;
        this.username = username;
        this.password = password;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public int getIdCard() {
        return idCard;
    }

    public void setIdCard(int idCard) {
        this.idCard = idCard;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public int getClassName() {
        return className;
    }

    public void setClassName(int className) {
        this.className = className;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getDormId() {
        return dormId;
    }

    public void setDormId(int dormId) {
        this.dormId = dormId;
    }

    public int getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(int bedNumber) {
        this.bedNumber = bedNumber;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(int emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", birthDate='" + birthDate + '\'' +
                ", idCard=" + idCard +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                ", className=" + className +
                ", status='" + status + '\'' +
                ", dormId=" + dormId +
                ", bedNumber=" + bedNumber +
                ", phone=" + phone +
                ", email='" + email + '\'' +
                ", emergencyContact=" + emergencyContact +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
